package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;

import com.aijk.ehm.model.EhmProblemLog;
import com.aijk.ehm.model.qo.EhmProblemLogQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EhmProblemLogApi {
    Long save(EhmProblemLog bean) throws ErrorCodeException;

    void update(EhmProblemLog bean) throws ErrorCodeException;

    EhmProblemLog findOne(Long id) throws ErrorCodeException;

    List<EhmProblemLog> list(EhmProblemLogQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(EhmProblemLogQo qo);

    PageInfo<EhmProblemLog> page(EhmProblemLogQo qo);
}